﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DocumentListBook
{
    public class Document : IDocument
    {
        public Document(string bookName, string content)
        {
            BookName = bookName;
            Content = content;
        }
        public string BookName { get; }
        public string Content { get; }
    }


    public interface IDocument
    {
        string BookName { get; }
        string Content { get; }

    }
}
